package com.keepmoving.vo;

import java.sql.Timestamp;

public class OrderInfo {
    /**
     * 俱乐部编号
     */
    private int clId;
    /**
     * 俱乐部名称
     */
    private String clName;
    /**
     * 俱乐部课程
     */
    private String clCourse;
    /**
     * 教练编号
     */
    private int coId;
    /**
     * 俱乐部地址
     */
    private String address;
    /**
     * 俱乐部地址
     */
    private String clTel;
    /**
     * 课程id
     */
    private String cId;

    /**
     * 课程名称
     */
    private String cName;

    /**
     * 课程费用
     */
    private double cMoney;
    /**
     * 上课日期时间
     */
    private Timestamp cDate;
    /**
     * 上课人数
     */
    private int cNumber;
    /**
     * 课程时间
     */
    private String coTime;

    //构造方法


    public OrderInfo() {
    }

    public OrderInfo(int clId, String clName, String clCourse, int coId, String address, String clTel, String cId, String cName, double cMoney, Timestamp cDate, int cNumber, String coTime) {
        this.clId = clId;
        this.clName = clName;
        this.clCourse = clCourse;
        this.coId = coId;
        this.address = address;
        this.clTel = clTel;
        this.cId = cId;
        this.cName = cName;
        this.cMoney = cMoney;
        this.cDate = cDate;
        this.cNumber = cNumber;
        this.coTime = coTime;
    }

    //set、get方法

    public int getClId() {
        return clId;
    }

    public void setClId(int clId) {
        this.clId = clId;
    }

    public String getClName() {
        return clName;
    }

    public void setClName(String clName) {
        this.clName = clName;
    }

    public String getClCourse() {
        return clCourse;
    }

    public void setClCourse(String clCourse) {
        this.clCourse = clCourse;
    }

    public int getCoId() {
        return coId;
    }

    public void setCoId(int coId) {
        this.coId = coId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getClTel() {
        return clTel;
    }

    public void setClTel(String clTel) {
        this.clTel = clTel;
    }

    public String getcId() {
        return cId;
    }

    public void setcId(String cId) {
        this.cId = cId;
    }

    public String getcName() {
        return cName;
    }

    public void setcName(String cName) {
        this.cName = cName;
    }

    public double getcMoney() {
        return cMoney;
    }

    public void setcMoney(double cMoney) {
        this.cMoney = cMoney;
    }

    public Timestamp getcDate() {
        return cDate;
    }

    public void setcDate(Timestamp cDate) {
        this.cDate = cDate;
    }

    public int getcNumber() {
        return cNumber;
    }

    public void setcNumber(int cNumber) {
        this.cNumber = cNumber;
    }

    public String getCoTime() {
        return coTime;
    }

    public void setCoTime(String coTime) {
        this.coTime = coTime;
    }

    //tostring方法

    @Override
    public String toString() {
        return "OrderInfo{" +
                "clId=" + clId +
                ", clName='" + clName + '\'' +
                ", clCourse='" + clCourse + '\'' +
                ", coId=" + coId +
                ", address='" + address + '\'' +
                ", clTel='" + clTel + '\'' +
                ", cId='" + cId + '\'' +
                ", cName='" + cName + '\'' +
                ", cMoney=" + cMoney +
                ", cDate=" + cDate +
                ", cNumber=" + cNumber +
                ", coTime='" + coTime + '\'' +
                '}';
    }
}
